package com.foreveross.crawl.common.exception.self;

import com.foreveross.crawl.common.exception.BusinessException;
import com.foreveross.crawl.common.exception.INotRetryException;
import com.foreveross.crawl.common.exception.enums.TaskStatusEnum;

public class AdapterNotFoundException extends BusinessException implements INotRetryException {

	private static final long serialVersionUID = 1L;

	public AdapterNotFoundException(){
		super(TaskStatusEnum.TASK_ADAPTER_NOT_FOUND.getStatus(), TaskStatusEnum.TASK_ADAPTER_NOT_FOUND.getRemark());
	}
	public AdapterNotFoundException(String msg){
		super(TaskStatusEnum.TASK_ADAPTER_NOT_FOUND.getStatus(), msg);
	}
	
}
